home *** CD-ROM | disk | FTP | other *** search
- on exitFrame me
- global gUserDataMan, gIsoEngineTracker, gFrameToGoTo, gFrameTracker, gNavigatingFromLoadIn
- initIsoEngine_BPSubdivision()
- if not voidp(gFrameToGoTo) then
- go(gFrameToGoTo)
- gFrameToGoTo = VOID
- exit
- end if
- if gNavigatingFromLoadIn = 1 then
- gNavigatingFromLoadIn = VOID
- placeToGoTo = getSavePlace(gUserDataMan)
- if not count(placeToGoTo) then
- go("floorPlan_init")
- exit
- end if
- if listp(placeToGoTo) then
- if placeToGoTo[#movie] = stripDotSuffix(whereAreWe(gFrameTracker)[#curMovie]) then
- theFrameLabel = placeToGoTo[#frameLabel]
- go(theFrameLabel)
- else
- go("floorPlan_init")
- end if
- else
- go("floorPlan_init")
- end if
- end if
- end
-